package pers.wensheng.patterns.behavioral_pattern.iterator_pattern.my_impl.entity;


import pers.wensheng.patterns.behavioral_pattern.iterator_pattern.my_impl.Student;

/**
 * 抽象聚合角色类
 */
public interface StudentAggregate {

    //添加学生功能
    void addStudent(Student student);

    //删除学生功能
    void removeStudent(Student student);

    //获取迭代器对象功能
    StudentIterator getStudentIterator();

}
